//package com.izkml.mlyun.hotreload.websocket;
//
//import com.izkml.mlyun.hotreload.constant.Const;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.socket.config.annotation.EnableWebSocket;
//import org.springframework.web.socket.config.annotation.WebSocketConfigurer;
//import org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry;
//
//@EnableWebSocket
//@Configuration
//public class WebSocketConfig implements WebSocketConfigurer {
//
//    @Override
//    public void registerWebSocketHandlers(WebSocketHandlerRegistry registry) {
//        registry.addHandler(new WebSocketHandler(), Const.WEBSOCKET.LOG_URI)
////                .addHandler(new LogWebSocketHandler(), Const.WEBSOCKET.LOG_URI)
////                .addHandler(new DebugWebSocketHandler(), Const.WEBSOCKET.DEBUG_URI)
//                .setAllowedOrigins("*");
//    }
//}
